package com.gzj.environment.model.log.criteria;

import com.gzj.environment.model.base.BaseCriteria;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description:
 * @author: tsing
 * @create: 2021-01-22 21:06
 */
@Data
public class LogCriteria extends BaseCriteria {

    private String keyword; // 匹配logMethod/logContent和errorMsg
    private String ip;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
